View Issue Details

IDProjectCategoryView StatusLast Update
0001772T99X171.00 SKB EagleSW Issuepublic2024-07-09 09:43
Reporter(ALTech) Younkwang Jung Assigned To(ALTech) Younkwang Jung Due Date2023-07-28 10:15
PrioritynormalSeveritys4-minorReproducibilityhave not tried
Status closedResolutionfixed 
Summary0001772: [Smart3][UI541] Request optimization for FW image(free space)
DescriptionHi Kerwin

UI541 is OS10 , the branch is
repo init -u  ssh://git@bitbucket.skbroadband.com:7999/fstbq/manifest.git -b BFX-AT100_5.4.1

Custom Webview was applied to UI541. (The webview method applied to OS12 was also applied to OS10.)
Applying Custom Webview results in a lack of space.
Currently, it can be built, but SKB is asking for optimization.
JIRA is
https://jira.skbroadband.com/browse/BPM-20927

please proceed with optimization
- removing unused APK or files
- compress zemkids

And removing YouTubeKids and AppleTv apk should proceed after discussion with SKB.
I will update this part after the meeting.

Thank you
YK.Jung
TagsNo tags attached.
Attach Tags

Users monitoring this issue

User List (ALTech) JunGyu Kim , (ALTech) SY Yoon

Activities

(SW) Jason Ling

2023-07-31 11:16

developer   ~0013764

Hi YK,

I am working on compressed ZemKids for UI541, but current ZemKids can not be executed. so I can not verified it. Could you please check it?

07-31 12:14:09.806 9978 9978 E AndroidRuntime: Process: com.skb.zemkids, PID: 9978
07-31 12:14:09.806 9978 9978 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.skb.zemkids/com.skb.zemkids.main.MainActivity}: java.lang.RuntimeException: Please have your activity extend XWalkActivity for shared mode
07-31 12:14:09.806 9978 9978 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3270)
07-31 12:14:09.806 9978 9978 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3409)
07-31 12:14:09.806 9978 9978 E AndroidRuntime: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
07-31 12:14:09.806 9978 9978 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
07-31 12:14:09.806 9978 9978 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
07-31 12:14:09.806 9978 9978 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2016)
07-31 12:14:09.806 9978 9978 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:107)
07-31 12:14:09.806 9978 9978 E AndroidRuntime: at android.os.Looper.loop(Looper.java:214)
07-31 12:14:09.806 9978 9978 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7356)
07-31 12:14:09.806 9978 9978 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-31 12:14:09.806 9978 9978 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
07-31 12:14:09.806 9978 9978 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
07-31 12:14:09.806 9978 9978 E AndroidRuntime: Caused by: java.lang.RuntimeException: Please have your activity extend XWalkActivity for shared mode
07-31 12:14:09.806 9978 9978 E AndroidRuntime: at org.xwalk.core.XWalkCoreWrapper.initEmbeddedMode(XWalkCoreWrapper.java:214)
07-31 12:14:09.806 9978 9978 E AndroidRuntime: at org.xwalk.core.XWalkPreferences.reflectionInit(XWalkPreferences.java:280)
07-31 12:14:09.806 9978 9978 E AndroidRuntime: at org.xwalk.core.XWalkPreferences.setValue(XWalkPreferences.java:119)
07-31 12:14:09.806 9978 9978 E AndroidRuntime: at com.skb.zemkids.fullFragment.web.HomeWebFragment$Companion.initCommon(HomeWebFragment.kt:85)
07-31 12:14:09.806 9978 9978 E AndroidRuntime: at com.skb.zemkids.main.MainActivity.onCreate(MainActivity.java:231)
07-31 12:14:09.806 9978 9978 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7817)
07-31 12:14:09.806 9978 9978 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7806)
07-31 12:14:09.806 9978 9978 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1306)
07-31 12:14:09.806 9978 9978 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3245)
07-31 12:14:09.806 9978 9978 E AndroidRuntime: ... 11 more

Thanks,
Jason

(ALTech) Younkwang Jung

2023-08-01 10:50

developer   ~0013781

Hi Jason

Currently, UI541 branch has UI540 zemdkids app. So it can't be executed.
Digicap will update zemdkids app later for UI541.
I'll check it after update

Thank you for checking
YK.Jung
image.png (41,152 bytes)   
image.png (41,152 bytes)   

(ALTech) Younkwang Jung

2023-10-26 18:46

developer   ~0014413

Last edited: 2023-10-26 18:48

View 2 revisions

Hi Jason

Critical issue was observed after downgrade from v15.541.12 to v15.540.16
https://jira.skbroadband.com/browse/BPM-23096

When I checked the cause,
There is an issue when updating zemkids (compress zemkids) to zemkids(non-compress,lower version)

v15.541.12 : compressd zemkids (stub-apk method)
v15.540.16 : non-compressed zemkids

The reproduction step is as follows.
1) STB FW is v15.541.12
2) Update to v15.540.16
3) First time booted and Video is ok
4) Power reboot does not boot normally

When I test it(ND), there is no issue when zemkids is not compressed.
First, please remove the zemkids compression on UI541. (free size is expected to decrease. )
And please check if SD FW is built
If it is built, please share the USB update file (SD version)

If you send me the SD file, we will check it again and let you know.

Thank you
YK.Jung
image-2.png (182,638 bytes)   
image-2.png (182,638 bytes)   

(SW) Jason Ling

2023-10-26 21:33

developer   ~0014414

Hi YK,

>>First, please remove the zemkids compression on UI541. (free size is expected to decrease. )
Please let me know the commit ID, and I can not revert it directly, because SPTEK added some modification after I applied compressed method.

>>And please check if SD FW is built
>>If it is built, please share the USB update file (SD version)
/release_by_fxn/tmp/mantis1772

Thanks,
Jason

(ALTech) Younkwang Jung

2023-10-27 08:16

developer   ~0014416

Hi Jason

>>First, please remove the zemkids compression on UI541. (free size is expected to decrease. )
>> Please let me know the commit ID, and I can not revert it directly, because SPTEK added some modification after I applied compressed method.
Your commited ID is
======================================================================================================================
digicap_zemkids(Bitbucket)
d3194c70315 [BPM-20927] Add compressed ZemKids apk 2023-09-14 1 file
6813c3aabab [BPM-20927] Add compressed ZemKids apk Change-Id: Ibeaa6d886d55bcec8c83789ae611270262e08181 2023-07-24 1 file
98a7add02d9 [BPM-20927] Add compressed ZemKids apk Change-Id: Ibeaa6d886d55bcec8c83789ae611270262e08181 2023-07-24 1 file

vendor-foxconn(Bitbucket)
7b445ee1af5 [BPM-20927] Add compressed ZemKids apk Change-Id: I6bd502b39ae9888c06049a35ea88534e12c378ab 2023-07-25 5 files

vendor-scripts(Bitbucket)
043f10ce6f5 [BPM-20927] Add compressed ZemKids apk Change-Id: Iac4ef9fb229b6149ba00680968de54cd40c062a1 2023-07-25 1 file
======================================================================================================================
It seems that the compression method can be removed with minimal modification without revert all of them

Additionally, if you put jiraID as a comment when committing, you can see the committed list when you enter the corresponding jira

>>/release_by_fxn/tmp/mantis1772
I will check the attached file and let you know

Thank you
YK.Jung
image-3.png (115,980 bytes)   
image-3.png (115,980 bytes)   
image-4.png (64,717 bytes)   
image-4.png (64,717 bytes)   

(ALTech) Younkwang Jung

2023-10-27 09:10

developer   ~0014418

Last edited: 2023-10-27 09:10

View 2 revisions

Hi jason

The issue was resolved when I test it wite the FW you sent me
( FYI , the remaining free spae is about 32Mbytes )

Please apply it to UI541 when you're ready

Thank you
Yk.Jung

(SW) Jason Ling

2023-10-27 11:14

developer   ~0014421

Hi YK,

Done,

2023-10-27 09:56:53 | jason.tf.ling@fii-.. | fa69c3c | skb/prebuilts/digicap_zemkids | [BPM-20927] Revert compressed Zemkid
2023-10-27 08:33:05 | jason.tf.ling@fii-.. | aa24bcd | vendor/scripts | [BPM-20927] Revert compressed Zemkid
2023-10-27 08:32:17 | jason.tf.ling@fii-.. | 4f8cd0e | vendor/foxconn | [BPM-20927] Revert compressed Zemkid

Thanks,
Jason

(ALTech) Younkwang Jung

2024-07-09 09:43

developer   ~0016212

Hi Jason

Thank you for your support

YK.Jung

Issue History

Date Modified Username Field Change
2023-07-24 09:18 (ALTech) Younkwang Jung New Issue
2023-07-24 09:18 (ALTech) Younkwang Jung Status new => assigned
2023-07-24 09:18 (ALTech) Younkwang Jung Assigned To => (SW) Kerwin Chen
2023-07-24 09:18 (ALTech) Younkwang Jung Issue Monitored: (ALTech) SY Yoon
2023-07-24 09:18 (ALTech) Younkwang Jung Issue Monitored: (ALTech) JunGyu Kim
2023-07-24 09:25 (ALTech) Younkwang Jung Severity s2-severe => s4-minor
2023-07-24 11:14 (SW) Kerwin Chen Assigned To (SW) Kerwin Chen => (SW) Jason Ling
2023-07-31 11:16 (SW) Jason Ling Note Added: 0013764
2023-07-31 11:16 (SW) Jason Ling Assigned To (SW) Jason Ling => (ALTech) Younkwang Jung
2023-08-01 10:50 (ALTech) Younkwang Jung Note Added: 0013781
2023-08-01 10:50 (ALTech) Younkwang Jung File Added: image.png
2023-10-26 18:46 (ALTech) Younkwang Jung Note Added: 0014413
2023-10-26 18:46 (ALTech) Younkwang Jung File Added: image-2.png
2023-10-26 18:47 (ALTech) Younkwang Jung Assigned To (ALTech) Younkwang Jung => (SW) Jason Ling
2023-10-26 18:48 (ALTech) Younkwang Jung Note Edited: 0014413 View Revisions
2023-10-26 21:33 (SW) Jason Ling Note Added: 0014414
2023-10-27 08:16 (ALTech) Younkwang Jung Note Added: 0014416
2023-10-27 08:16 (ALTech) Younkwang Jung File Added: image-3.png
2023-10-27 08:16 (ALTech) Younkwang Jung File Added: image-4.png
2023-10-27 09:10 (ALTech) Younkwang Jung Note Added: 0014418
2023-10-27 09:10 (ALTech) Younkwang Jung Note Edited: 0014418 View Revisions
2023-10-27 11:14 (SW) Jason Ling Assigned To (SW) Jason Ling => (ALTech) Younkwang Jung
2023-10-27 11:14 (SW) Jason Ling Status assigned => resolved
2023-10-27 11:14 (SW) Jason Ling Resolution open => fixed
2023-10-27 11:14 (SW) Jason Ling Note Added: 0014421
2024-07-09 09:43 (ALTech) Younkwang Jung Note Added: 0016212
2024-07-09 09:43 (ALTech) Younkwang Jung Status resolved => closed